package com.lframework.xingyun.basedata.vo.product.assistance;

import javax.validation.constraints.NotBlank;
import com.lframework.starter.web.core.vo.BaseVo;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

@Data
public class CreateProductAssistanceVo implements BaseVo, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主商品id
     */
    @ApiModelProperty(value = "主商品id", required = true)
    @NotBlank(message = "请输入主商品id！")
    @Length(message = "主商品id最多允许32个字符！")
    private String productMainId;

    /**
     * 辅料商品id
     */
    @ApiModelProperty(value = "辅料商品id", required = true)
    private List<String> productIds;


}

